<template>
  <div>
    <div class="title">{{title}}
      <slot name="right-btn"></slot>
    </div>
    <label class="page-close-box">
      <el-button type="text" @click="$router.go(-1)" icon="el-icon-close" />
    </label>
  </div>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
      default: ''
    }
  }
}
</script>
<style lang="scss" scoped>
.title {
    font-weight: 600;
    font-size: 16px;
    color: #383838;
    line-height: 28px;
    padding-bottom: 5px;
    border-bottom: 3px solid #409EFF;
    margin-bottom: 10px;
}
</style>
